package com.cskaoyan.bean.chaosbean.search.vo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

/**
 * @author jackX
 * @datetime 2023/1/1 22:38
 * @description: TODO:
 */
@AllArgsConstructor
@NoArgsConstructor
@Data
public class IndexVO<T> {
    /**
     * defaultKeyword : {"id":38,"keyword":"马小艳","url":"","isHot":true,"isDefault":true,"sortOrder":100,"addTime":"2022-11-23 10:31:55","updateTime":"2022-11-27 13:50:45","deleted":false}
     * hotKeywordList : [{"id":6,"keyword":"520元礼包抢先领","url":"","isHot":true,"isDefault":false,"sortOrder":1,"addTime":"2018-02-01 00:00:00","updateTime":"2022-11-27 13:51:31","deleted":false},{"id":9,"keyword":"aa","url":"","isHot":true,"isDefault":false,"sortOrder":100,"addTime":"2022-11-20 22:28:23","updateTime":"2022-11-27 13:51:28","deleted":false},{"id":11,"keyword":"9527","url":"sdf","isHot":true,"isDefault":false,"sortOrder":100,"addTime":"2022-11-20 22:34:22","updateTime":"2022-11-20 22:52:27","deleted":false},{"id":12,"keyword":"111","url":"","isHot":true,"isDefault":false,"sortOrder":100,"addTime":"2022-11-20 22:43:25","updateTime":"2022-11-27 13:48:43","deleted":false},{"id":22,"keyword":"aaa","url":"50","isHot":true,"isDefault":false,"sortOrder":100,"addTime":"2022-11-21 16:58:41","updateTime":"2022-11-21 16:58:41","deleted":false},{"id":26,"keyword":"d夫为人父给我","url":"是啥","isHot":true,"isDefault":false,"sortOrder":100,"addTime":"2022-11-22 10:56:39","updateTime":"2022-11-22 10:56:39","deleted":false},{"id":27,"keyword":"aaa","url":"aaa","isHot":true,"isDefault":false,"sortOrder":100,"addTime":"2022-11-22 10:58:14","updateTime":"2022-11-22 10:58:14","deleted":false},{"id":30,"keyword":"77","url":"777","isHot":true,"isDefault":false,"sortOrder":100,"addTime":"2022-11-22 14:44:49","updateTime":"2022-11-27 13:50:49","deleted":false},{"id":31,"keyword":"null","url":"","isHot":true,"isDefault":false,"sortOrder":100,"addTime":"2022-11-23 10:30:54","updateTime":"2022-11-27 13:48:36","deleted":false},{"id":32,"keyword":"🐴","url":"","isHot":true,"isDefault":false,"sortOrder":100,"addTime":"2022-11-23 10:31:01","updateTime":"2022-11-27 13:48:33","deleted":false},{"id":33,"keyword":"张航","url":"","isHot":true,"isDefault":false,"sortOrder":100,"addTime":"2022-11-23 10:31:07","updateTime":"2022-11-27 13:48:29","deleted":false},{"id":34,"keyword":"李洋洋","url":"","isHot":true,"isDefault":false,"sortOrder":100,"addTime":"2022-11-23 10:31:15","updateTime":"2022-11-27 13:48:26","deleted":false},{"id":35,"keyword":"林璇","url":"","isHot":true,"isDefault":false,"sortOrder":100,"addTime":"2022-11-23 10:31:22","updateTime":"2022-11-27 13:48:23","deleted":false},{"id":36,"keyword":"何香枝","url":"","isHot":true,"isDefault":false,"sortOrder":100,"addTime":"2022-11-23 10:31:35","updateTime":"2022-11-27 13:48:20","deleted":false},{"id":37,"keyword":"叶佩青","url":"","isHot":true,"isDefault":false,"sortOrder":100,"addTime":"2022-11-23 10:31:45","updateTime":"2022-11-27 13:48:15","deleted":false},{"id":38,"keyword":"马小艳","url":"","isHot":true,"isDefault":true,"sortOrder":100,"addTime":"2022-11-23 10:31:55","updateTime":"2022-11-27 13:50:45","deleted":false},{"id":39,"keyword":"🐴","url":"🐴","isHot":true,"isDefault":false,"sortOrder":100,"addTime":"2022-11-23 10:32:11","updateTime":"2022-11-27 13:48:06","deleted":false},{"id":40,"keyword":"🐴🐴🐴🐴🐴🐴🐴🐴🐴🐴🐴🐴🐴🐴🐴🐴","url":"","isHot":true,"isDefault":false,"sortOrder":100,"addTime":"2022-11-23 10:32:28","updateTime":"2022-11-27 13:48:02","deleted":false},{"id":41,"keyword":"周杰伦","url":"","isHot":true,"isDefault":false,"sortOrder":100,"addTime":"2022-11-23 10:32:35","updateTime":"2022-11-27 13:47:59","deleted":false},{"id":42,"keyword":"music","url":"","isHot":true,"isDefault":false,"sortOrder":100,"addTime":"2022-11-24 11:02:26","updateTime":"2022-11-27 13:47:55","deleted":false},{"id":55,"keyword":"sa","url":"s","isHot":true,"isDefault":true,"sortOrder":100,"addTime":"2022-12-30 21:48:58","updateTime":"2022-12-30 21:48:58","deleted":false}]
     * historyKeywordList : []
     */

    private List<T>  defaultKeyword;
    private List<T> hotKeywordList;
    private List<T> historyKeywordList;

    @AllArgsConstructor
    @NoArgsConstructor
    @Data
    public static class DefaultKeywordBean {
        /**
         * id : 38
         * keyword : 马小艳
         * url :
         * isHot : true
         * isDefault : true
         * sortOrder : 100
         * addTime : 2022-11-23 10:31:55
         * updateTime : 2022-11-27 13:50:45
         * deleted : false
         */

        private Integer id;
        private String keyword;
        private String url;
        private Boolean isHot;
        private Boolean isDefault;
        private Integer sortOrder;
        private String addTime;
        private String updateTime;
        private Boolean deleted;
    }

    @AllArgsConstructor
    @NoArgsConstructor
    @Data
    public static class HotKeywordListBean {
        /**
         * id : 6
         * keyword : 520元礼包抢先领
         * url :
         * isHot : true
         * isDefault : false
         * sortOrder : 1
         * addTime : 2018-02-01 00:00:00
         * updateTime : 2022-11-27 13:51:31
         * deleted : false
         */

        private Integer id;
        private String keyword;
        private String url;
        private Boolean isHot;
        private Boolean isDefault;
        private Integer sortOrder;
        private String addTime;
        private String updateTime;
        private Boolean deleted;
    }
}

